<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                template="/templates/ui.xhtml">
    <ui:define name="head">

    </ui:define>
    <ui:define name="content">
        <div style="margin: 5px;">
            <h:form id="expForm">
                <p:panel header="回款统计报表：：按月导出去年和今年数据">
                    <h:panelGrid columns="2" cellspacing="5" columnClasses="col-80,col-20">
                        <h:panelGrid columns="4" cellspacing="5"
                                     columnClasses="input-col-m,input-col-l,input-col-m,input-col-l">
                            <h:outputLabel value="工贸:"/>
                            <h:inputText id="cName" value="#{exporterAction.belongCname}"/>
                            <h:outputLabel value="客户名称:"/>
                            <h:inputText id="company" value="#{exporterAction.rtncompany}"/>
                        </h:panelGrid>
                        <h:panelGrid>
                            <p:commandButton ajax="false" id="export" action="#{exporterAction.onExport}"
                                             style="width:100px;" value="导出"></p:commandButton>
                        </h:panelGrid>
                    </h:panelGrid>
                    <p:ajaxStatus style="height:18px;text-align:center">
                        <f:facet name="start">
                            <h:graphicImage value="/images/ajaxloadingbar.gif"/>
                        </f:facet>
                        <f:facet name="complete">
                            <h:outputText value=""/>
                        </f:facet>
                    </p:ajaxStatus>
                </p:panel>
            </h:form>
        </div>
    </ui:define>
</ui:composition>